package demo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class HelloWorld {
    public static void main(String[] args) {
        try {
            FileOutputStream fos = new FileOutputStream("fos.txt");
            fos.write(97);
            fos.write(98);
            System.out.println("写出完毕");
            fos.close();


        } catch (Exception e) {
        }
    }
}
